import { Injectable } from '@nestjs/common';
import { BaseService } from 'src/common/mongodb/BaseService';
import { Activity, ActivityDocument } from './entities/activity.entity';
import { InjectModel } from '@nestjs/mongoose';
import { Model } from 'mongoose';

@Injectable()
export class ActivityService extends BaseService<ActivityDocument> {
  constructor(
    @InjectModel(Activity.name)
    private activityModel: Model<ActivityDocument>,
  ) {
    super(activityModel, ['users']);
  }
}
